class AcGamePlayground{
    constructor(root){
        this.root = root;
        this.$playground = $(`<div class="ac-game-playground"></div>`);
        // this.hide();
        this.root.$ac_game.append(this.$playground);
        this.width = this.$playground.width();
        this.height = this.$playground.height();
        this.game_map = new GameMap(this);
        this.start();
        this.players = [];
        this.players.push(new player(this, this.width / 2, this.height / 2, this.height * 0.05, "white", this.height * 0.15, true));
    };

    start(){
        
    };

    show(){
        this.$playground.show();
    }; //打开playground界面
    hide(){
        this.$playground.hide();

    }; //关闭pilayground界面 


}
